<form method="post">
    <div class="col-md-2">Name</div>
    <div class="col-md-4"><?php echo $form->render('name'); ?></div>
    <div class="col-md-6">
        <div>Permissions</div>
        <div>
            <?php foreach ($permissions as $permission) { ?>
                <input type="checkbox" value="<?php echo $permission; ?>" name="permissions[]"/><?php echo $permission; ?>
            <?php } ?>
        </div>
    </div>
    <div class="form-group">
        <?php echo $form->render('submit', array('value' => 'Save')); ?>
    </div>
</form>